package com.example.wujinapi.entity.wangeditor;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

//wangEditor指定返回的数据格式
@Data
public class wangEditorUploadimageErrorJsonResult<T> extends wangEditorJsonResult<T> {

    //返回状态码 0 或 1
    private Integer errno;

    private String message;

    @JsonIgnore
    private T data;

    public wangEditorUploadimageErrorJsonResult(Integer errno, String message) {
        super(errno,message);
        this.errno=errno;
        this.message=message;
    }
}
